﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GLImp;
using System.Drawing;
using OpenTK;

namespace CastleOfTheDisillusioned.Location {
	class Tile : Entity {
		static Subimage TileTex = Textures.Platforms.Subimage(42, 6, 16, 16);
		public bool Fallthrough = false;
		public bool Solid = true;

		public Tile(double x, double y) {
			X = x;
			Y = y;
			Width = 1;
			Height = 1;
		}

		public override void Draw() {
			TileTex.Draw(X, Y, Width, Height);
		}
	}
}
